package com.powersystem.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author linrongji
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PS_SOLVETASK_MAIN")
public class PsSolvetaskMain extends Model<PsSolvetaskMain> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("SOLVETASKCODE")
    private String solvetaskcode;

    @TableField("WORKDOCTYPE")
    private Long workdoctype;

    @TableField("WORKDOCTYPENAME")
    private String workdoctypename;

    @TableField("TASKDESC")
    private String taskdesc;

    @TableField("TASKMANAGERCODE")
    private String taskmanagercode;

    @TableField("TASKMANAGERNAME")
    private String taskmanagername;

    @TableField("TASKSTATUS")
    private Long taskstatus;

    @TableField("TASKSTATUSNAME")
    private String taskstatusname;

    @TableField("FINISHTIME")
    private LocalDateTime finishtime;

    @TableField("COMMON")
    private String common;

    @TableField("MANAGERSUGGESTION")
    private String managersuggestion;

    @TableField("TASKFINISHDESC")
    private String taskfinishdesc;

    @TableField("TASKFINISHREPORT")
    private String taskfinishreport;

    @TableField("TASKNOTES")
    private String tasknotes;

    @TableField("ISSUEDBYCODE")
    private String issuedbycode;

    @TableField("ISSUEDBYNAME")
    private String issuedbyname;

    @TableField("ISSUEDTIME")
    private LocalDateTime issuedtime;

    @TableField("ISSUEDSUGGESTION")
    private String issuedsuggestion;

    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    @TableField("CREATEDBY")
    private String createdby;

    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
